package com.ddwl.schema.vo.message;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;


/**
 * @author Fu Zhaohui
 */
@ApiModel(description = "在线咨询Bo")
@Setter
@Getter
public class AdvisoryVo {


    private String id;
    private String userId;
    private String realname;
    @Pattern(regexp = "^(\\s{0})|(1\\d{10})$", message = "手机号码格式错误")
    private String mobile;
    private String wechat;
    private String content;
    private String ip;
}
